package com.yangchao.quarkus;

import jakarta.enterprise.context.ApplicationScoped;

@ApplicationScoped
@HandleError
public class HandleErrorDemo {

    public void executeThrowError() {
        throw new IllegalArgumentException("this is business logic exception");
    }
}